﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace xiaolanshu
{
    public partial class MyButton : Sunny.UI.UIButton
    {
        public MyButton()
        {
            InitializeComponent();
            Cursor = System.Windows.Forms.Cursors.Hand;
            FillColor = System.Drawing.Color.Black;
            FillDisableColor = System.Drawing.Color.Black;
            FillHoverColor = System.Drawing.Color.Black;
            FillPressColor = System.Drawing.Color.Black;
            FillSelectedColor = System.Drawing.Color.White;
            Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            ForeDisableColor = System.Drawing.Color.Black;
            ForeSelectedColor = System.Drawing.Color.Black;
            IsScaled = false;
            Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            MinimumSize = new System.Drawing.Size(2, 2);
            Radius = 18;
            RectColor = System.Drawing.Color.Black;
            RectHoverColor = System.Drawing.Color.White;
            RectPressColor = System.Drawing.Color.White;
            RectSelectedColor = System.Drawing.Color.White;
            Style = Sunny.UI.UIStyle.Custom;
            TipsColor = System.Drawing.Color.White;
        }

        protected override void OnPaint(PaintEventArgs pe)
        {
            base.OnPaint(pe);
        }
    }
}
